import $axios from './axios'

export const login = (data) => $axios({
  url: '/oauth/login',
  data
})

export const add = () => $axios({
  url: '/note/add'
})

export const list = () => $axios({
  url: '/note/list'
})
